//
//  HWConstant.h
//  HM_SDK_HWConstant_h
//
//  Created by xyz on 15/9/22.
//  Copyright (c) 2015年 xyz. All rights reserved.
//

#ifndef HM_SDK_HWConstant_h
#define HM_SDK_HWConstant_h
//用户协议地址
#define kUserAgreementUrl @"https://apiv2.sdk2021.gndwc.com/api/v7/web/agreement?app_id=1"
//隐私政策地址
#define kPrivateUrl @"https://apiv2.sdk2021.gndwc.com/api/v7/web/privacy?app_id=1"

//登录接口地址
#define kLoginUrl @"https://apiv2.sdk2021.gndwc.com/api/v7/user/login?sdk_from=h5"
//参数—》username=%@&password=%@

//注册接口地址
#define kRegisterUrl @"https://apiv2.sdk2021.gndwc.com/api/v7/user/register?sdk_from=h5"
//参数?username=%@&password=%@&email=%@

//实名地址
#define kRealNameUrl @"https://apiv2.sdk2021.gndwc.com/api/v7/web/indentify/submit?sdk_from=h5"
//绑定手机号 获取验证码
#define kGetCode @"https://apiv2.sdk2021.gndwc.com/api/v7/user/register?sdk_from=h5"
//绑定手机号url
#define kBindPhoneUrl @"https://apiv2.sdk2021.gndwc.com/api/v7/user/register?sdk_from=h5"

//输入框账号限制长度
#define kAccountLength 15
//输入框密码限制长度
#define kPasswordLength 15
//绑定手机验证码限制长度
#define kVerificationCodeLength 6
//toast 显示位置 ，距离顶部的相对位置
#define kToastPos 5/6

//ocCallJs
#define kSDKShowLoginCallBack @"SDKShowLoginCallBack"
#define kSDKShowRegisteCallBack @"SDKShowRegisteCallBack"
#define kSDKShowExchangeCallBack @"SDKShowExchangeCallBack"
#define kSDKShowRealNameCallBack @"SDKShowRealNameCallBack"
#define kSDKBindPhoneCallBack @"SDKBindPhoneCallBack"
#define kSDKExitCallBack @"SDKExitCallBack"
#define kSDKClickGetCodeCallBack @"SDKClickGetCodeCallBack"


#define kAppId  @"1"
#define kAgentgame  @"IOS.123-v1-1633017600"

//钥匙串存储的Key
// 唯一标识
#define kUUID  @"device_uuid"
// 账号
#define kUserName  @"userName_id"
// 手机号
#define kPhoneNumber  @"phongeNumber_id"
// 密码
#define kPassword  @"password_id"
//token
#define kToken  @"token"

#define kBundleId [[NSBundle mainBundle] bundleIdentifier]
//使用js处理数据
#define kUseJs  YES

#endif
